<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>v-text</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        <h2 v-text="message + 'hello!world'">深圳</h2>
        <h2 v-text="info + 'hello!world'">深圳</h2>

        <!-- 只有第三个的深圳会显示出来 -->
        <h2>{{message + 'hello!world'}}深圳</h2>
    </div>

    <script>
        var app = new Vue({
            el:"#app",
            data:{
                message:"陈独秀",
                info:"前端"
            }
        })
    </script>
    
</body>
</html>